gtk4.git
18 years agogdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.c
Michael Natterer [Fri, 14 Mar 2008 20:38:58 +0000 (20:38 +0000)]
gdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.c

2008-03-14  Michael Natterer  <mitch@imendio.com>

* gdk/gdkspawn.h
* gtk/gtkbuilderprivate.h
* gtk/gtkfilechoosersettings.c
* gtk/gtksearchenginesimple.c
* gtk/tests/liststore.c
* gtk/tests/treestore.c: remove single-file includes of GLib
headers or replace them by <glib.h> where needed.

svn path=/trunk/; revision=19877

18 years agoAdded missing mnemonic to German version.
Andre Klapper [Fri, 14 Mar 2008 18:52:10 +0000 (18:52 +0000)]
Added missing mnemonic to German version.

2008-03-14  Andre Klapper  <a9016009@gmx.de>

* de.po: Added missing mnemonic to German version.

svn path=/trunk/; revision=19876

18 years agocoding style cleanup.
Michael Natterer [Fri, 14 Mar 2008 17:26:12 +0000 (17:26 +0000)]
coding style cleanup.

2008-03-14  Michael Natterer  <mitch@imendio.com>

* gtk/gtkadjustment.c: coding style cleanup.

(gtk_adjustment_set_property): no need to call g_object_notify()
on the set properties.

Implement GObject::dispatch_properties_changed() and make sure we
emit "changed" when anything but the "value" property changes.

svn path=/trunk/; revision=19875

18 years agoDrop the support for the MSH_MOUSEWHEEL message that MSDN says is used
Tor Lillqvist [Fri, 14 Mar 2008 16:11:50 +0000 (16:11 +0000)]
Drop the support for the MSH_MOUSEWHEEL message that MSDN says is used

2008-03-14  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c: Drop the support for the
MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
Win95. Thanks to mitch for noticing this obsolete code.

svn path=/trunk/; revision=19874

18 years agoChanged 'void int main()' to 'int main()'. (#522211, Liqing Huang)
Cody Russell [Fri, 14 Mar 2008 12:38:01 +0000 (12:38 +0000)]
Changed 'void int main()' to 'int main()'. (#522211, Liqing Huang)

2008-03-14  Cody Russell  <bratsche@gnome.org>

* examples/scribble-xinput/scribble-xinput.c: Changed
'void int main()' to 'int main()'. (#522211, Liqing Huang)

svn path=/trunk/; revision=19872

18 years agoPatch from Paul Davis, only flush the toplevel once per update.
Richard Hult [Fri, 14 Mar 2008 10:20:55 +0000 (10:20 +0000)]
Patch from Paul Davis, only flush the toplevel once per update.

2008-03-14  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_quartz_process_all_updates): Patch from Paul Davis,
only flush the toplevel once per update.

svn path=/trunk/; revision=19871

18 years agoHide the mouse cursor in the completion feedback window
Federico Mena Quintero [Fri, 14 Mar 2008 02:45:44 +0000 (02:45 +0000)]
Hide the mouse cursor in the completion feedback window
2008-03-13  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (create_completion_feedback_window):
Set the mouse cursor of the feedback window to invisible, so that
we respect GtkEntry's invisible cursor while typing.

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19870

18 years agoUse rough font-based spacing for the completion entry's suggestion window
Federico Mena Quintero [Fri, 14 Mar 2008 02:13:54 +0000 (02:13 +0000)]
Use rough font-based spacing for the completion entry's suggestion window
2008-03-13  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
the feedback window at entry_height/2 pixels to the right of the
cursor, for a cheap "M-width / 2" spacing.

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19869

18 years agoRemove superfluous empty line
Tor Lillqvist [Thu, 13 Mar 2008 16:08:38 +0000 (16:08 +0000)]
Remove superfluous empty line

svn path=/trunk/; revision=19868

18 years agogtk/gtkfilechooserdefault.c set alternative button order for overwrite
Sven Neumann [Thu, 13 Mar 2008 14:09:02 +0000 (14:09 +0000)]
gtk/gtkfilechooserdefault.c set alternative button order for overwrite

2008-03-13  Sven Neumann  <sven@gimp.org>

* gtk/gtkfilechooserdefault.c
* gtk/gtkprintunixdialog.c: set alternative button order for
overwrite confirmation dialogs (bug #522191).

svn path=/trunk/; revision=19866

18 years agoadded some line-breaks for readability.
Sven Neumann [Thu, 13 Mar 2008 09:22:48 +0000 (09:22 +0000)]
added some line-breaks for readability.

2008-03-13  Sven Neumann  <sven@gimp.org>

* gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
(overwrite_confirmation_dialog): added some line-breaks for
readability.

svn path=/trunk/; revision=19862

18 years agoChangeLog for the new GtkFileChooserEntry completion code
Federico Mena Quintero [Thu, 13 Mar 2008 00:48:27 +0000 (00:48 +0000)]
ChangeLog for the new GtkFileChooserEntry completion code

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19860

18 years agoBeep with gtk_widget_error_bell()
Federico Mena Quintero [Thu, 13 Mar 2008 00:48:10 +0000 (00:48 +0000)]
Beep with gtk_widget_error_bell()

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19859

18 years agoBetter feedback for sole completions
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:54 +0000 (00:47 +0000)]
Better feedback for sole completions

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19858

18 years agoDon't complete the directory separator if it would result in double separators
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:38 +0000 (00:47 +0000)]
Don't complete the directory separator if it would result in double separators

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19857

18 years agoRemove obsolete FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:21 +0000 (00:47 +0000)]
Remove obsolete FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19856

18 years agoRemove debug printfs
Federico Mena Quintero [Thu, 13 Mar 2008 00:47:05 +0000 (00:47 +0000)]
Remove debug printfs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19855

18 years agoAdd some FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:48 +0000 (00:46 +0000)]
Add some FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19854

18 years agoOn error when loading a folder, use the raw error message instead of commenting it up
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:31 +0000 (00:46 +0000)]
On error when loading a folder, use the raw error message instead of commenting it up

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19853

18 years agoClear the current_folder_path if loading yields an error
Federico Mena Quintero [Thu, 13 Mar 2008 00:46:14 +0000 (00:46 +0000)]
Clear the current_folder_path if loading yields an error

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19852

18 years agoPresent an error if we can't load the folder during explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:45:58 +0000 (00:45 +0000)]
Present an error if we can't load the folder during explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19851

18 years agoDetect when Tab would generate no new completions
Federico Mena Quintero [Thu, 13 Mar 2008 00:45:41 +0000 (00:45 +0000)]
Detect when Tab would generate no new completions

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19850

18 years agoDebug printfs for deleting/inserting the completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:45:23 +0000 (00:45 +0000)]
Debug printfs for deleting/inserting the completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19849

18 years agoIf explicitly completing and we have a completion, just unselect it
Federico Mena Quintero [Thu, 13 Mar 2008 00:45:05 +0000 (00:45 +0000)]
If explicitly completing and we have a completion, just unselect it

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19848

18 years agoAnother FIXME
Federico Mena Quintero [Thu, 13 Mar 2008 00:44:48 +0000 (00:44 +0000)]
Another FIXME

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19847

18 years agoAdd completion feedback in other places
Federico Mena Quintero [Thu, 13 Mar 2008 00:44:30 +0000 (00:44 +0000)]
Add completion feedback in other places

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19846

18 years agoFind the cursor position from GtkEntry for the completion feedback
Federico Mena Quintero [Thu, 13 Mar 2008 00:44:12 +0000 (00:44 +0000)]
Find the cursor position from GtkEntry for the completion feedback

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19845

18 years agoUse a timer for the completion feedback window
Federico Mena Quintero [Thu, 13 Mar 2008 00:43:54 +0000 (00:43 +0000)]
Use a timer for the completion feedback window

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19844

18 years agoDestroy the completion feedback window
Federico Mena Quintero [Thu, 13 Mar 2008 00:43:36 +0000 (00:43 +0000)]
Destroy the completion feedback window

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19843

18 years agoUse an alignment for the label like in GtkTooltip
Federico Mena Quintero [Thu, 13 Mar 2008 00:43:18 +0000 (00:43 +0000)]
Use an alignment for the label like in GtkTooltip

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19842

18 years agoShow the label as well as the feedback window
Federico Mena Quintero [Thu, 13 Mar 2008 00:42:58 +0000 (00:42 +0000)]
Show the label as well as the feedback window

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19841

18 years agoDebug printfs for the completion feedback position
Federico Mena Quintero [Thu, 13 Mar 2008 00:42:38 +0000 (00:42 +0000)]
Debug printfs for the completion feedback position

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19840

18 years agoCreate a tooltip-like window to present completion feedback
Federico Mena Quintero [Thu, 13 Mar 2008 00:42:19 +0000 (00:42 +0000)]
Create a tooltip-like window to present completion feedback

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19839

18 years agoBeep if there are no matches for explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:41:58 +0000 (00:41 +0000)]
Beep if there are no matches for explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19838

18 years agoScan the completion store again to look for complete-but-not-unique matches
Federico Mena Quintero [Thu, 13 Mar 2008 00:41:38 +0000 (00:41 +0000)]
Scan the completion store again to look for complete-but-not-unique matches

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19837

18 years agoStubs for all cases of completion feedback
Federico Mena Quintero [Thu, 13 Mar 2008 00:41:17 +0000 (00:41 +0000)]
Stubs for all cases of completion feedback

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19836

18 years agoUpdate comments on explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:40:57 +0000 (00:40 +0000)]
Update comments on explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19835

18 years agoStubs to give feedback when doing explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:40:37 +0000 (00:40 +0000)]
Stubs to give feedback when doing explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19834

18 years agoRefresh the file part when it gets requested and when activating the entry
Federico Mena Quintero [Thu, 13 Mar 2008 00:40:16 +0000 (00:40 +0000)]
Refresh the file part when it gets requested and when activating the entry

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19833

18 years agoClear the completion flags before appending the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:39:56 +0000 (00:39 +0000)]
Clear the completion flags before appending the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19832

18 years agoAdd FIXMEs for beeping later
Federico Mena Quintero [Thu, 13 Mar 2008 00:39:35 +0000 (00:39 +0000)]
Add FIXMEs for beeping later

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19831

18 years agoFactor out some code
Federico Mena Quintero [Thu, 13 Mar 2008 00:39:15 +0000 (00:39 +0000)]
Factor out some code

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19830

18 years agoImplement the basic code path for explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:38:53 +0000 (00:38 +0000)]
Implement the basic code path for explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19829

18 years agoClear pending completions thoroughly
Federico Mena Quintero [Thu, 13 Mar 2008 00:38:31 +0000 (00:38 +0000)]
Clear pending completions thoroughly

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19828

18 years agoRemove debug printfs from populate_completion_store()
Federico Mena Quintero [Thu, 13 Mar 2008 00:38:11 +0000 (00:38 +0000)]
Remove debug printfs from populate_completion_store()

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19827

18 years agoDebug printfs for finishing the folder load
Federico Mena Quintero [Thu, 13 Mar 2008 00:37:50 +0000 (00:37 +0000)]
Debug printfs for finishing the folder load

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19826

18 years agoMore debug printfs for populating the completion store
Federico Mena Quintero [Thu, 13 Mar 2008 00:37:27 +0000 (00:37 +0000)]
More debug printfs for populating the completion store

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19825

18 years agoDebug printfs for populating the completion store
Federico Mena Quintero [Thu, 13 Mar 2008 00:37:05 +0000 (00:37 +0000)]
Debug printfs for populating the completion store

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19824

18 years agoTurn on in_change while changing the filename in the entry
Federico Mena Quintero [Thu, 13 Mar 2008 00:36:42 +0000 (00:36 +0000)]
Turn on in_change while changing the filename in the entry

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19823

18 years agoUpdate some FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:36:18 +0000 (00:36 +0000)]
Update some FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19822

18 years agoWhen finding the common prefix, assert that we have the correct folder loaded
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:54 +0000 (00:35 +0000)]
When finding the common prefix, assert that we have the correct folder loaded

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19821

18 years agoDiscard the completion store when we change the folder
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:31 +0000 (00:35 +0000)]
Discard the completion store when we change the folder

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19820

18 years agoAdd some more FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:35:08 +0000 (00:35 +0000)]
Add some more FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19819

18 years agoRemove obsolete comments
Federico Mena Quintero [Thu, 13 Mar 2008 00:34:44 +0000 (00:34 +0000)]
Remove obsolete comments

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19818

18 years agoCancel all forms of completion at the appropriate times, not just in ::changed
Federico Mena Quintero [Thu, 13 Mar 2008 00:34:21 +0000 (00:34 +0000)]
Cancel all forms of completion at the appropriate times, not just in ::changed

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19817

18 years agoPut some more FIXMEs
Federico Mena Quintero [Thu, 13 Mar 2008 00:33:55 +0000 (00:33 +0000)]
Put some more FIXMEs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19816

18 years agoRe-create the completion store right before populating it
Federico Mena Quintero [Thu, 13 Mar 2008 00:33:31 +0000 (00:33 +0000)]
Re-create the completion store right before populating it

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19815

18 years agoPopulate the completion store when the folder is done loading
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:58 +0000 (00:32 +0000)]
Populate the completion store when the folder is done loading

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19814

18 years agoRemove files_added handler
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:32 +0000 (00:32 +0000)]
Remove files_added handler

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19813

18 years agoRemove files_deleted handler
Federico Mena Quintero [Thu, 13 Mar 2008 00:32:05 +0000 (00:32 +0000)]
Remove files_deleted handler

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19812

18 years agoHandle the folder being completely loaded
Federico Mena Quintero [Thu, 13 Mar 2008 00:31:38 +0000 (00:31 +0000)]
Handle the folder being completely loaded

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19811

18 years agoDebug printfs for finding the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:31:13 +0000 (00:31 +0000)]
Debug printfs for finding the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19810

18 years agoDebug printfs for the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:30:47 +0000 (00:30 +0000)]
Debug printfs for the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19809

18 years agoAutocomplete by inserting/selecting the common prefix
Federico Mena Quintero [Thu, 13 Mar 2008 00:30:20 +0000 (00:30 +0000)]
Autocomplete by inserting/selecting the common prefix

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19808

18 years agoDebugging printfs
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:55 +0000 (00:29 +0000)]
Debugging printfs

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19807

18 years agoStart autocompletion in an idle so GtkEntry updates its cursor position
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:30 +0000 (00:29 +0000)]
Start autocompletion in an idle so GtkEntry updates its cursor position

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19806

18 years agoRework the way autocompletion is initiated
Federico Mena Quintero [Thu, 13 Mar 2008 00:29:04 +0000 (00:29 +0000)]
Rework the way autocompletion is initiated

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19805

18 years agoFor autocompletion, consider only the text up to the cursor
Federico Mena Quintero [Thu, 13 Mar 2008 00:28:38 +0000 (00:28 +0000)]
For autocompletion, consider only the text up to the cursor

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19804

18 years agoDon't overwrite the suffix after the cursor when inserting the completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:28:12 +0000 (00:28 +0000)]
Don't overwrite the suffix after the cursor when inserting the completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19803

18 years agoSkip the cursor past the autocompleted part when requesting explicit completion
Federico Mena Quintero [Thu, 13 Mar 2008 00:27:46 +0000 (00:27 +0000)]
Skip the cursor past the autocompleted part when requesting explicit completion

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19802

18 years agoMove the cursor to the end only if we highlight the completed match
Federico Mena Quintero [Thu, 13 Mar 2008 00:27:16 +0000 (00:27 +0000)]
Move the cursor to the end only if we highlight the completed match

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19801

18 years agoComplete even if not at the end of the text
Federico Mena Quintero [Thu, 13 Mar 2008 00:26:49 +0000 (00:26 +0000)]
Complete even if not at the end of the text

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19800

18 years agoOnly auto-insert the prefix if we are at the end of the text
Federico Mena Quintero [Thu, 13 Mar 2008 00:26:20 +0000 (00:26 +0000)]
Only auto-insert the prefix if we are at the end of the text

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19799

18 years agoFind the common prefix based on the cursor position
Federico Mena Quintero [Thu, 13 Mar 2008 00:25:50 +0000 (00:25 +0000)]
Find the common prefix based on the cursor position

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19798

18 years agoUpdated Slovak translation by Pavol Šimo.
Marcel Telka [Wed, 12 Mar 2008 20:45:48 +0000 (20:45 +0000)]
Updated Slovak translation by Pavol Šimo.

2008-03-12  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation by Pavol Šimo.

svn path=/trunk/; revision=19795

18 years agoRemove one extraneous space.
Tor Lillqvist [Wed, 12 Mar 2008 19:41:30 +0000 (19:41 +0000)]
Remove one extraneous space.

svn path=/trunk/; revision=19793

18 years agoBug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
Tor Lillqvist [Wed, 12 Mar 2008 19:34:38 +0000 (19:34 +0000)]
Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash

2008-03-12  Tor Lillqvist  <tml@novell.com>

Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash

* gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
for the TaskbarCreated message in the window procedure for the
dummy "tray observer" window we create. When we get a
TaskbarCreated message, iterate over the status icons and re-add
them to the task bar, and update them by calling
gtk_status_icon_update_image().

Move some ifdefs around to avoid unused functions.

svn path=/trunk/; revision=19792

18 years agoUpdate to match what configure produces.
Tor Lillqvist [Wed, 12 Mar 2008 18:53:03 +0000 (18:53 +0000)]
Update to match what configure produces.

2008-03-12  Tor Lillqvist  <tml@novell.com>

* config.h.win32.in: Update to match what configure produces.

svn path=/trunk/; revision=19791

18 years agoDon't define variables in the middle of a block. (#522067)
Jens Granseuer [Wed, 12 Mar 2008 18:37:39 +0000 (18:37 +0000)]
Don't define variables in the middle of a block. (#522067)

2008-03-12  Jens Granseuer  <jensgr@gmx.net>

* modules/printbackends/cups/gtkprintbackendcups.c:
(cups_printer_prepare_for_print): Don't define variables in the
middle of a block. (#522067)

svn path=/trunk/; revision=19789

18 years agoAdd an overwrite confirmation dialog for print-to-file. (#474302, Marek
Matthias Clasen [Wed, 12 Mar 2008 18:02:29 +0000 (18:02 +0000)]
Add an overwrite confirmation dialog for print-to-file. (#474302, Marek

2008-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
        dialog for print-to-file.  (#474302, Marek Kašík)

svn path=/trunk/; revision=19787

18 years agoFix a crash
Matthias Clasen [Wed, 12 Mar 2008 17:52:36 +0000 (17:52 +0000)]
Fix a crash

svn path=/trunk/; revision=19786

18 years agosv.po: Updated Swedish translation
Daniel Nylander [Wed, 12 Mar 2008 16:39:12 +0000 (16:39 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=19782

18 years agoDon't leak paper_size here. (#488820, Morten Welinder)
Matthias Clasen [Wed, 12 Mar 2008 16:37:51 +0000 (16:37 +0000)]
Don't leak paper_size here. (#488820, Morten Welinder)

2008-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
        paper_size here.  (#488820, Morten Welinder)

svn path=/trunk/; revision=19781

18 years agoremove this deprecated file.
Michael Natterer [Wed, 12 Mar 2008 14:05:23 +0000 (14:05 +0000)]
remove this deprecated file.

2008-03-12  Michael Natterer  <mitch@imendio.com>

* acconfig.h: remove this deprecated file.

* configure.in: added comments to all instances of AC_DEFINE() so
config.h can be completely generated from configure.in.

svn path=/trunk/; revision=19779

18 years agoinclude <glib/gstdio.h> for g_fopen().
Michael Natterer [Wed, 12 Mar 2008 11:12:37 +0000 (11:12 +0000)]
include <glib/gstdio.h> for g_fopen().

2008-03-12  Michael Natterer  <mitch@imendio.com>

* modules/printbackends/cups/gtkprintbackendcups.c: include
<glib/gstdio.h> for g_fopen().

svn path=/trunk/; revision=19775

18 years agoUpdated Telugu traslation done by Krishna Babu K <kkrothap@redhat.com>.
Sunil Mohan Adapa [Wed, 12 Mar 2008 06:27:16 +0000 (06:27 +0000)]
Updated Telugu traslation done by Krishna Babu K <kkrothap@redhat.com>.

2008-03-12  Sunil Mohan Adapa  <sunilmohan@fsf.org.in>

        * te.po: Updated Telugu traslation done by
        Krishna Babu K <kkrothap@redhat.com>.

svn path=/trunk/; revision=19769

18 years agoUse g_ascii_formatd when formatting custom paper sizes, since cups doesn't
Matthias Clasen [Wed, 12 Mar 2008 01:34:34 +0000 (01:34 +0000)]
Use g_ascii_formatd when formatting custom paper sizes, since cups doesn't

2008-03-11  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Use
        g_ascii_formatd when formatting custom paper sizes, since
        cups doesn't handle , as decimal separator.  (#521548)

svn path=/trunk/; revision=19762

18 years agoSet a GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while still
Claudio Saavedra [Tue, 11 Mar 2008 21:06:59 +0000 (21:06 +0000)]
Set a GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while still

2008-03-11  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

* io-bmp.c: (gdk_pixbuf__bmp_image_stop_load): Set a
GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while
still reading the headers.  (#505085)

svn path=/trunk/; revision=19757

18 years agoCheck for the BMP header magic numbers before decoding it. (#505085)
Claudio Saavedra [Tue, 11 Mar 2008 21:05:26 +0000 (21:05 +0000)]
Check for the BMP header magic numbers before decoding it. (#505085)

2008-03-11  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * io-bmp.c: (DecodeHeader): Check for the BMP header magic numbers
        before decoding it.  (#505085)

svn path=/trunk/; revision=19756

18 years agoBug 469868 - Filenames with colon ":" are not saved correctly
Tor Lillqvist [Tue, 11 Mar 2008 18:43:49 +0000 (18:43 +0000)]
Bug 469868 - Filenames with colon ":" are not saved correctly

2008-03-11  Tor Lillqvist  <tml@novell.com>

Bug 469868 - Filenames with colon ":" are not saved correctly

* gtk/gtkfilechooserentry.c (insert_text_callback)
(delete_text_callback) [Win32]: New functions to make sure that
colons used otherwise than as a separator after a drive letter, or
characters that are always illegal in file names, are rejected on
input. This means that the GTK+ file chooser can't be used to
input full names of alternate data streams, but oh well. There are
still more checks that could be done on the file names, see the
bug report. But this will do for now.
(_gtk_file_chooser_entry_init) [Win32]: Connect above functions.

svn path=/trunk/; revision=19753

18 years agoAdd the initial Valencian-Catalan translations.
Jordi Mallach [Tue, 11 Mar 2008 17:25:06 +0000 (17:25 +0000)]
Add the initial Valencian-Catalan translations.

svn path=/trunk/; revision=19752

18 years agoMinor Catalan corrections by Robert Millan.
Jordi Mallach [Tue, 11 Mar 2008 17:18:28 +0000 (17:18 +0000)]
Minor Catalan corrections by Robert Millan.

svn path=/trunk/; revision=19751

18 years agogdk/Makefile.am remove remaining linux-fb stuff.
Michael Natterer [Tue, 11 Mar 2008 17:15:59 +0000 (17:15 +0000)]
gdk/Makefile.am remove remaining linux-fb stuff.

2008-03-11  Michael Natterer  <mitch@imendio.com>

* gdk/Makefile.am
* gtk/framebuffer.sgml: remove remaining linux-fb stuff.

svn path=/trunk/; revision=19750

18 years agoremoved linux-fb backend files.
Michael Natterer [Tue, 11 Mar 2008 17:14:00 +0000 (17:14 +0000)]
removed linux-fb backend files.

2008-03-11  Michael Natterer  <mitch@imendio.com>

* gdk/linux-fb/*: removed linux-fb backend files.

* acconfig.h
* config.h.win32.in
* docs/README.linux-fb
* gtk/Makefile.am: remove remaining traces of linux-fb.

* gtk/gtkwindow-decorate.c: same here. There is some code that
calls into linux-fb to set window move/resize callbacks. I put it
in #if 0 as a reminder because we did use decorated windows with
the DirectFB backend and it did work, so I don't really know why
this code is needed or how it could work with DirectFB back then.
The file does actually compile now if DECORATE_WINDOWS is defined,
but I didn't test with DirectFB to check if it does anything.

svn path=/trunk/; revision=19749

18 years agoTake thickness into account in the size allocation of the child widgets in
Alberto Ruiz [Tue, 11 Mar 2008 13:46:37 +0000 (13:46 +0000)]
Take thickness into account in the size allocation of the child widgets in

2008-03-11  Alberto Ruiz  <aruiz@gnome.org>

* gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
Take thickness into account in the size allocation of the child widgets in
list mode.
Fixes #521442

svn path=/trunk/; revision=19747

18 years agoImplement gdk_window_reparent.
Richard Hult [Tue, 11 Mar 2008 10:14:47 +0000 (10:14 +0000)]
Implement gdk_window_reparent.

2008-03-11  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.

svn path=/trunk/; revision=19746

18 years agoAdd the possibility to test what happens if the process just calls exit()
Tor Lillqvist [Mon, 10 Mar 2008 19:28:34 +0000 (19:28 +0000)]
Add the possibility to test what happens if the process just calls exit()

2008-03-10  Tor Lillqvist  <tml@novell.com>

* tests/teststatusicon.c (do_exit, popup_menu): Add the
possibility to test what happens if the process just calls exit()
without any orderly cleanup of GTK+.

svn path=/trunk/; revision=19745

18 years agoRemove from SVN, finally.
Tor Lillqvist [Mon, 10 Mar 2008 18:35:29 +0000 (18:35 +0000)]
Remove from SVN, finally.

2008-03-10  Tor Lillqvist  <tml@novell.com>

* gtk/gtktrayicon-win32.c: Remove from SVN, finally.

svn path=/trunk/; revision=19744

18 years agoBug 520286 - Non-deletable window has no minimize / maximize buttons
Tor Lillqvist [Mon, 10 Mar 2008 15:48:06 +0000 (15:48 +0000)]
Bug 520286 - Non-deletable window has no minimize / maximize buttons

2008-03-10  Tor Lillqvist  <tml@novell.com>

Bug 520286 - Non-deletable window has no minimize / maximize buttons

* gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
New debugging output function that decodes a set of WS_* bits.

* gdk/win32/gdkprivate-win32.h: Declare it.

* gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
New function that enables or disables one menu entry in the system
menu of a top-level window. (The corresponding decoration will
then also be enabled or disabled (grayed).)

(update_style_bits): Do as the comment says and don't try to
update the window style based on the GdkWMFunctions set for the
window.

(update_system_menu): New function that enables or disables the
system menu entries based on a window's stored set of
GdkWMFunctions.

(gdk_window_set_functions): Call update_system_menu() instead of
update_style_bits().

svn path=/trunk/; revision=19743

18 years agoReword the 2.14 release notes entry about the deprecation of the
Emmanuele Bassi [Mon, 10 Mar 2008 14:22:13 +0000 (14:22 +0000)]
Reword the 2.14 release notes entry about the deprecation of the

2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>

* README.in: Reword the 2.14 release notes entry about the
deprecation of the gtkitemfactory.h header, and fix typos
and grammar.

svn path=/trunk/; revision=19742